/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-11-13
 * Time:11:58
 */
public class Thread5 {
    public static void main(String[] args) {
        Thread t = new Thread(()-> {
            System.out.println("线程2");
        });
        t.start();
        int i = 70;
        while (i >0) {
            System.out.println("主线程");
            i--;
        }
    }
}
